<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title></title>
		<script>
			var num1=prompt("请输入数字1");
			var num2=prompt("请输入数字2");
			
			if(num1>num2||num1==num2){
				alert(num1);
			}else{
				alert(num2);
			}
		</script>
	</head>
	<body>
	</body>
</html>
